Skip to content

Support custom ssh configuration for endpoints#550

Open
hendrikvanantwerpen wants to merge 2 commits intomutagen-io:masterfrom
nuanced-dev:hendrikvanantwerpen/custom-ssh-config
Open

Support custom ssh configuration for endpoints#550
hendrikvanantwerpen wants to merge 2 commits intomutagen-io:masterfrom
nuanced-dev:hendrikvanantwerpen/custom-ssh-config

Conversation

@hendrikvanantwerpen
Copy link

What does this pull request do and why is it needed?

This pull requests adds support for injecting custom ssh configuration for endpoints to override the system configuration.

My particular use case is setting up syncs to cloud hosts. These hosts require specific ssh settings and change SSH keys every time they are resumed. The changes in this PR make it easy to support automating that, without having to touch the user's configuration. Changing the keys is particularly neat, since we can just rewrite the key file set in the custom config before resuming the sync.

Which issue(s) does this pull request address (if any)?

This is loosely based on the suggestion in #301.

Adds support for setting custom configuration for ssh endpoints, to
override the system configuration. The context is is injected by setting
environment variables to the config file to use.
Include url parameters in listing output. This allows the user to see,
for example, if a custom ssh configuration has been set for any of the
endpoints.
@hendrikvanantwerpen hendrikvanantwerpen changed the title Hendrikvanantwerpen/custom ssh config Support custom ssh configuration for endpoints Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant